package com.woniu.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.*;
import java.io.Serializable;

/**
 * 表名：provinces
*/
@Table(name = "provinces")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Provinces  implements Serializable {
    private static final long serialVersionUID = 1L;
    @Id
    @Column(name = "provice_code")
    private String proviceCode;

    @Column(name = "provice_name")
    private String proviceName;

    /**
     * @return proviceCode
     */
    public String getProviceCode() {
        return proviceCode;
    }

    /**
     * @param proviceCode
     */
    public void setProviceCode(String proviceCode) {
        this.proviceCode = proviceCode;
    }

    /**
     * @return proviceName
     */
    public String getProviceName() {
        return proviceName;
    }

    /**
     * @param proviceName
     */
    public void setProviceName(String proviceName) {
        this.proviceName = proviceName;
    }
}